seajs.config({
    base: './js/',
    charset: 'utf-8',
    paths: {
      'arale': 'https://a.alipayobjects.com/arale'
    },

    alias: {
      'jquery': 'vendor/jquery-1.10.2.min',
      'jquery-ui': 'vendor/jquery-ui-1.10.3.custom.min',
      'jquery-ui-touch': 'vendor/jquery.ui.touch-punch.min',
      'jquery-tagsinput': 'vendor/jquery.tagsinput',
      'jquery-placeholder': 'vendor/jquery.placeholder',
      'bootstrap': 'vendor/bootstrap.min',
      'bootstrap-select': 'vendor/bootstrap-select',
      'bootstrap-switch': 'vendor/bootstrap-switch',
      'flatui-checkbox': 'vendor/flatui-checkbox',
      'flatui-radio': 'vendor/flatui-radio',

      'rainbow': 'vendor/rainbow-custom.min',
      'lightbox': 'vendor/lightbox-2.6.min',
      'masonry': 'vendor/masonry.min',
      'imagesloaded': 'vendor/imagesloaded.min',

      'modernizr': 'vendor/modernizr-2.6.2.min',
      'underscore': 'vendor/underscore',

      'rest': 'vendor/rest',
      'mustache': 'http://cdn.bootcss.com/mustache.js/0.7.2/mustache.min.js',
      'marked': 'vendor/marked.min',
      'seajs-debug': 'https://raw.github.com/seajs/seajs-debug/master/dist/seajs-debug'
    },
    preload: [
      'jquery',
      'underscore',
      'mustache'
    ]
});

seajs.use(['app', 'bootstrap', 'jquery-ui-touch'], function(app) {
    app.init();
});
